CC=cc
CFLAGS=-c -Wall 
LDFLAGS= 
SOURCES=main.c libgeisyr.c
OBJECTS=$(SOURCES:.c=.o)
EXECUTABLE=lib

all: $(SOURCES) $(EXECUTABLE)
	
$(EXECUTABLE): $(OBJECTS) 
	$(CC)  $(OBJECTS) $(LDFLAGS)  -o $@

.c.o:
	$(CC) $(CFLAGS) $< -o $@
clean:
	rm *.o $(EXECUTABLE)

install:
	chmod 755 $(EXECUTABLE)
